<!DOCTYPE html>
<html>
    <head>
        <title>Cadastrar Usuario</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/bootstrap.css" rel="stylesheet">
        <link href="css/bootstrap-responsive.css" rel="stylesheet">
  	<link href="css/stilo.css" rel="stylesheet">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <![endif]-->
    </head>
    <body>
       <div class="container">
           <?php include "topo.html"; ?>
           <?php include "menu.php"; ?>
           
           <!------------------------------------------Inicio do Conteudo------------------------------------->
		<section>
			<div id="conteudo">
				<div class="row-fluid">
					<div class="span12">
						<div class="titulo">
                                                    <p><b>Cadastrar Usuario</b></p>
						</div>
						<div class="bordas">
                             
                                                    <form class="form-horizontal usuario" method="POST" action="index.php?pg=InserirUsuario">
                                                                    <div class="alert alert-danger"><p>Os Campos com * São Obrigatorios</p></div>
                                                                     <div class="alert alert-info"><p>Dados Pessoais</p></div>   
                                                                    
                                                                     <!-- Hidden input-->
                                                                    <div class="control-group">
                                                                      <div class="controls">
                                                                          <input id="tipo" name="tipo" value="<?php echo $tipo; ?>" placeholder="" class="input-large" type="hidden">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                     
                                                                    <!-- Multiple Radios -->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="deficiencia">Possui Deficiencia *</label>
                                                                      <div class="controls">
                                                                        <label class="radio" for="deficiencia-0">
                                                                          <input name="deficiencia" id="deficiencia-0" value="1" type="radio">
                                                                          Sim
                                                                        </label>
                                                                        <label class="radio" for="deficiencia-1">
                                                                          <input name="deficiencia" id="deficiencia-1" value="0" type="radio">
                                                                          Não
                                                                        </label>
                                                                        </div>
                                                                    </div>
                                                                                                                                        
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="nome">Nome *</label>
                                                                      <div class="controls">
                                                                        <input id="nome" name="nome" placeholder="" class="input-large"  type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                                                                                                  
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="telefone">Telefone *</label>
                                                                      <div class="controls">
                                                                          <input id="telefone" name="telefone" placeholder="" class="input-large"  type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="datadenascimento">Data de Nascimento *</label>
                                                                      <div class="controls">
                                                                          <input id="datanascimento" name="datadenascimento" placeholder="" class="input-large"  type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="naturalidade">Naturalidade</label>
                                                                      <div class="controls">
                                                                        <input id="naturalidade" name="naturalidade" placeholder="" class="input-large" type="text">
                                                                      
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="rg">RG</label>
                                                                      <div class="controls">
                                                                        <input name="rg" placeholder="" class="input-large numeros" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="estadorg">Orgão Expedidor</label>
                                                                      <div class="controls">
                                                                        <input id="estadorg" name="estadorg" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="cpf">CPF</label>
                                                                      <div class="controls">
                                                                        <input id="cpf" name="cpf" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="sus">Cartão do SUS *</label>
                                                                      <div class="controls">
                                                                        <input name="sus" placeholder="" class="input-large numeros" type="text">
                                                                       
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <div class="alert alert-info"><p>Dados do Endereço</p></div>                                                                    
                                                                
                                                                  
                                                                   <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="endereco">Endereço *</label>
                                                                      <div class="controls">
                                                                        <input id="endereco" name="endereco" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                   
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="complemento">Complemento</label>
                                                                      <div class="controls">
                                                                        <input id="complemento" name="complemento" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="bairro">Bairro</label>
                                                                      <div class="controls">
                                                                        <input id="bairro" name="bairro" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="cidade">Cidade</label>
                                                                      <div class="controls">
                                                                        <input id="cidade" name="cidade" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Select Basic -->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="estado">Estado</label>
                                                                      <div class="controls">
                                                                        <select id="estado" name="estado" class="input-large">
                                                                            <option value="MS">MS</option>
                                                                          <option value="MT">MT</option>
                                                                          <option value="SP">SP</option>
                                                                        </select>
                                                                      </div>
                                                                    </div>
                                                                
                                                                  
                                                                    <div class="alert alert-info"><p>Dados do Responsavel</p></div>
                                                                  
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="mae">Nome da Mãe</label>
                                                                      <div class="controls">
                                                                        <input id="mae" name="mae" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="pai">Nome do Pai</label>
                                                                      <div class="controls">
                                                                        <input id="pai" name="pai" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Select Basic -->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="parentesco">Outro</label>
                                                                      <div class="controls">
                                                                        <select id="parentesco" name="parentesco" class="input-large">
                                                                            <option value="">Selecione Caso Necessario</option>
                                                                          <option value="Avó">Avó</option>
                                                                          <option value="Avô">Avô</option>
                                                                          <option value="Irmão/Irmã">Irmão/Irmã</option>
                                                                          <option value="Tio/Tia">Tio/Tia</option>
                                                                          <option value="Outros">Outros</option>
                                                                        </select>
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Text input-->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="responsavel">Nome do Outros</label>
                                                                      <div class="controls">
                                                                        <input id="responsavel" name="responsavel" placeholder="" class="input-large" type="text">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Hidden input-->
                                                                    <div class="control-group">
                                                                      <div class="controls">
                                                                          <input id="idfuncionario" name="idfuncionario" value="<?php echo $_SESSION['idFun']?>" placeholder="" class="input-large"  type="hidden">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Hidden input-->
                                                                    <div class="control-group">
                                                                      <div class="controls">
                                                                          <input id="dataentrada" name="dataentrada" value="<?php echo $data; ?>" placeholder="" class="input-large"  type="hidden">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Hidden input-->
                                                                    <div class="control-group">
                                                                      <div class="controls">
                                                                          <input id="dataatualizacao" name="dataatualizacao" value="<?php echo $time; ?>" placeholder="" class="input-large" type="hidden">
                                                                        
                                                                      </div>
                                                                    </div>
                                                                    
                                                                    <!-- Button -->
                                                                    <div class="control-group">
                                                                      <label class="control-label" for="salvar"></label>
                                                                      <div class="controls">
                                                                        <button id="salvar" name="salvar" class="btn btn-primary">Salvar</button>
                                                                      </div>
                                                                    </div>
                                                                   
                                                        
                                                            </form>
                                                        </div>
                                                    </div>
                                             	 </div>
                            
                                    </div> <!-- Fim da linha conteudo -->
                            </section><!-- ----------------------------------------fim do Conteudo----------------------------------- -->

           
           <?php include "rodape.html"; ?>
           
           
       </div><!-- fim da div container -->    
        
        
    <!-- Arquivos Javascripts ================================================== -->
    <script  src="js/jquery-1.10.2.min.js"></script>
    <script  src="js/bootstrap.min.js"></script>
    <script  src="js/jquery.maskedinput.js"></script>
    <script  src="js/jquery.validate.js"></script>
    <script  src="js/validaformusuario.js"></script>
    <script  src="js/mascaras.js"></script>
    <script  src="js/sonumeros.js"></script>

    </body>
</html>

